/**
 @file sys_duet2_port.h

 @author  Copyright (C) 2011 Centec Networks Inc.  All rights reserved.

 @date 2020-11-04

 @version v2.0

*/

#ifndef _SYS_DUET2_PORT_H
#define _SYS_DUET2_PORT_H
#ifdef __cplusplus
extern "C" {
#endif

/****************************************************************
 *
 * Header Files
 *
 ***************************************************************/
#include "sys_duet2_datapath.h"
#include "sys_usw_mac.h"

/****************************************************************
*
* Defines and Macros
*
****************************************************************/
extern int32
sys_duet2_port_set_property(uint8 lchip, uint32 gport, ctc_port_property_t port_prop, uint32 value);

extern int32
sys_duet2_port_get_property(uint8 lchip, uint32 gport, ctc_port_property_t port_prop, uint32* p_value);

extern int32
sys_duet2_port_init(uint8 lchip);

#ifdef __cplusplus
}
#endif

#endif

